package vip.xiaonuo.issued.ack.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import vip.xiaonuo.facedoor.vo.dewo.DeviceStateResponse;

@Data
@Accessors(chain = true)
public class DeviceAck extends BaseAck {

  @JsonProperty("data")
  private DeviceStateResponse.DataDTO data;

  @NoArgsConstructor
  @Data
  public static class DataDTO {
    @JsonProperty("cpuUsage")
    private String cpuUsage;
    @JsonProperty("ramUsage")
    private String ramUsage;
    @JsonProperty("availableStorage")
    private String availableStorage;
    @JsonProperty("deviceModel")
    private String deviceModel;
    @JsonProperty("androidVersion")
    private String androidVersion;
    @JsonProperty("firmwareVersion")
    private String firmwareVersion;
    @JsonProperty("serialNum")
    private String serialNum;
    @JsonProperty("ipAddress")
    private String ipAddress;
    @JsonProperty("appVersion")
    private String appVersion;
    @JsonProperty("deviceTime")
    private String deviceTime;
    @JsonProperty("memberCount")
    private Long memberCount;
    @JsonProperty("rowNum")
    private Integer rowNum;
    @JsonProperty("colNum")
    private Integer colNum;
    @JsonProperty("maxUseNum")
    private Integer maxUseNum;
    @JsonProperty("adminPwd")
    private String adminPwd;
  }




}
